<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://xmlns.jcp.org/jsf/html"
	xmlns:f="http://xmlns.jcp.org/jsf/core"
	xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
	xmlns:c="http://xmlns.jcp.org/jsp/jstl/core"
	xmlns:mywidgets="http://xmlns.jcp.org/jsf/composite/widgets"
	xmlns:fn="http://xmlns.jcp.org/jsp/jstl/functions"
	xmlns:pt="http://xmlns.jcp.org/jsf/passthrough">

<ui:composition template="/templates/overviewTemplate.xhtml">
	<!-- <ui:composition template="/templates/contentTemplate.xhtml"> -->

	<ui:define name="title">Text Administration</ui:define>

	<ui:define name="body">

		<h1>trans test</h1>



		<h2>Translations</h2>

		<h:form id="translationsForm">
			<table>
				<thead>
					<tr>
						<td>Trans ID</td>
						<td>Translation</td>
						<td>Locale</td>
					</tr>
				</thead>
				
				<h:panelGroup id="transGroup">
					<ui:repeat var="trans" value="#{textController.getTranslationsByTextId(3)}">
						<tr>
							<td>#{trans.id}</td>
							<td>#{trans.translation}</td>
							<td>#{trans.locale}</td>
						</tr>
					</ui:repeat>
				</h:panelGroup>

			</table>
		</h:form>



	</ui:define>
</ui:composition>
</html>
